find subarray having given sum

join shbcf.ru